/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.teamrecord.entity;

import com.jeeplus.modules.member.entity.Member;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 管理收益记录Entity
 * @author freedom
 * @version 2020-07-20
 */
public class TeamRecord extends DataEntity<TeamRecord> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 用户名
	private Double money;		// 团队收益

	private Double buyMoney;     //10-10购买总和

	private String exportTime;//导出时间
	
	public TeamRecord() {
		super();
	}

	public TeamRecord(String id){
		super(id);
	}

	@ExcelField(title="用户名", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="积分收益", align=2, sort=2)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Double getBuyMoney() {
		return buyMoney;
	}

	public void setBuyMoney(Double buyMoney) {
		this.buyMoney = buyMoney;
	}

	@ExcelField(title="时间", align=2, sort=2)
	public String getExportTime() {
		return exportTime;
	}

	public void setExportTime(String exportTime) {
		this.exportTime = exportTime;
	}
}